home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
015
/
hp379.arc
/
SP.DOC
next >
Wrap
Text File
|
1984-07-21
|
11KB
|
305 lines
SP: A PRINT SPOOLER
for the IBM Personal Computer
Version 3.79
Copyright Alan Jones 1983
3717 Wildwood Drive
Endwell, NY 13760
(607) 754-2339
June 27, 1984
SP is a software printer buffer to hold data intended for the printer.
It works like the buffers that can be installed in the printer but the
data is stored in RAM storage instead of in the printer. The buffer
is unloaded to the printer at the printer's speed while DOS proceeds
at its speed. The size of the buffer is specified as a parameter when
SP is invoked. For example,
SP 14
will produce a buffer of 14KB (1KB = 1024 bytes).
The complete syntax is:
SP [ss] [C=cc] [P=pp]
where:
ss: size of buffer in kilobytes. One kilobyte = 1024 bytes.
Maximum size is 62 KB.
cc: number of copies desired. Default: 1.
pp: printer port desired (1, 2, or 3). Default: 1.
NOTE: You do not type the square brackets. They merely indicate that the
contents are optional. For example, if you want to use printer port 2 with
a buffer size of 20 KB, you would enter:
SP 20 P=2
If you want to keep the previous buffer and only change the number of
copies to 3 copies, enter:
SP C=3
For the "C" and "P" you can enter either upper or lower case characters.
If the size parameter is omitted, a default buffer of 16KB is used.
The program will work for all work sent to the printer whether it is from
the DOS TYPE command, a PrtSc command, a BASIC LLIST or LPRINT command, a
print command from The Personal Editor, etc.
TO STOP PRINTING
If you start a printout and decide you don't want it, press,
simultaneously, Alt-LeftShift-PrtSc to flush the buffer. You can also
flush the buffer by turning the printer off and then back on.
TO PAUSE
If you want the printing to pause, hold down the ON LINE button until the
printer stops (which it will do at the end of a line). Pressing the ON
LINE button again will allow printing to resume with no loss of data.
CHANGING BUFFER SIZE
You can remove SP from the machine by specifying a buffer of zero. That
is:
SP 0
will return DOS to its original state unless another DOS extension is
installed after SP such as FileCommand.
You can change the size of the buffer by re-invoking SP with the new
parameter. In this case, SP determines that there is already a copy
present in the machine and just alters the size of the buffer of the
older copy. (This feature not available for DOS 2.0. However, you can
remove SP and then re-invoke it to get a different buffer size.)
MULTIPLE COPIES
To create multiple copies of a document, you must indicate to SP where the
beginning and end of the document is. To indicate the beginning of a
document press Alt-LeftShift-B. To indicate the end of a document press
Alt-LeftShift-E. Of course, if you have indicated only one copy, that is
all you will get. You can press the END indication when SP has gobbled up
the text. You don't have to wait until the first copy is printed.
One nice way of using the multiple copies is after the fact. That is, if
you just printed a document and decide you'd like another copy, from DOS
indicate the TOTAL number of copies you want (2 or more) and then invoke
the END indication. SP will determine that one copy has already been
printed and proceed to print the rest according to the quantity specified.
You have to be a bit careful. Once you indicate the beginning of a
document (Alt-LeftShift-B) that remains the beginning until you change it.
If you print multiple copies of something and then send something else to
the printer and again indicate the END, you will get a document from the
most recent BEGIN. This may or may not be what you want.
MULTIPLE PRINTERS
SP can support more than one printer. When you invoke SP it creates a
buffer for the specified printer. If you do not specify one, it will
create a buffer for LPT1. You can then re-invoke SP specifying another
printer and a new buffer will be created. From then on, the data going to
the printer will enter the appropriate buffer and be printed on the
appropriate printer. When you give keyboard commands, SP does not know
which printer they apply for so it uses them for all. That is, if you
flush the buffer (Alt-LeftShift-PrtSc) all buffers will be flushed. If you
indicate the end of a document, this will apply to all buffers.
CAVEATS:
When using with VisiCalc, do not specify a buffer larger than 23K with DOS
1.1 or 10K with DOS 2.0 since VisiCalc will not load (it cannot cross a 64K
boundary during loading.)
There is a problem when using SP with the Personal Editor Version 1.0 on
some occasions when quiting a file. This has turned out to be a problem in
PE. To patch PE: On a scratch disk, rename a copy of PE.EXE to XX and
DEBUG XX. Type E DS:56E7 and change 6 bytes of code to hex 90 by typing 90
and pressing the space bar 6 times. The previous contents of those bytes
should be C7 06 56 EF 00 00. Then use the debug command W (write) to write
the file back out. Then Q (quit) to leave DEBUG and rename XX back to
PE.EXE.
When using it in some environments such as EasyWriter, there may be
commands that allow you to stop the printer. However, when SP is present,
the program will be way ahead of the printer and will only stop sending
data to the buffer. In cases like this, turn off the printer and then turn
back on again to stop printing.
OPERATING ENVIRONMENTS
SP has been tested in the following environments:
PrtSc command WordStar
DOS TYPE to printer EasyWriter 1.1
BASIC LLIST VisiCalc
BASIC LPRINT With Communications
BASIC PRINT# The Personal Editor
Lotus 1-2-3 Multiplan
PC-FILE PC-TALK
And with the following printers:
IBM Printer and Printer-2 TI-800
C. Itoh PROWRITER Okidata
Epson MX-80 or MX-80 F/T NEC 7730
AVAILABILITY
Available from Alan Jones under the "user supported software" concept
promoted by Jim Button. See below.
COPYING
SP can be copied onto one of your own diskettes for use on your machine.
In fact we recommend including it in your AUTOEXEC's so that it is always
invoked.
DISCLAIMER.
In no event will the Author be liable to you for any damages, including any
lost profits, lost savings or other incidental or consequential damages
arising out of the use of or inability to use these programs, even if the
Author has been advised of the possibility of such damages, or for any
claim by any other party.
PERMISSION TO COPY:
Clubs and other non-profit organizations are granted permission by the
author to freely copy these programs and documentation and share it with
their members, so long as:
1. No price is charged for the software or documentation. However, a
distribution cost may be charged for the cost of the diskette, so long
as it is not more than $10 total.
2. Club members are informed of the user-supported concept and encouraged
to support it with their donations.
3. The program or documentation are not modified in any way and are
distributed together.
THE USER-SUPPORTED CONCEPT.
User-Supported Software
If you are using this program and find it to be of value
your contribution will be appreciated.
($15 is suggested)
Alan Jones
3717 Wildwood Drive
Endwell, NY 13760
Regardless of whether you make a contribution,
you are encouraged to copy and share this program.
User-supported software is an experiment in distributing computer
programs, based on these beliefs:
1. That the value and utility of software is best assessed by the
user on his/her own system.
2. That the creation of personal computer software can and should
be supported by the computing community.
3. That copying of programs should be encouraged, rather than
restricted.
Anyone may request a copy of a user-supported program by sending a blank,
formatted disk to the author of the program. An addressed, postage-paid
return mailer must accompany the disk (no exceptions, please). A copy of
the program, with documentation on the disk, will be sent by return mail.
The program will carry a notice suggesting a contribution to the program's
author. Making a contribution is completely voluntary on the part of each
user.
Free distribution of software and voluntary payment for its use eliminates
costs for advertising and copy protection schemes.
Users obtain quality software at reduced cost. They can try it out before
buying, and do so at their own pace and in the comfort of their own home or
office. The best programs will survive, based purely on their quality and
usefulness.
Please join the experiment.
If you believe in these ideals, your contribution is solicited to help make
them work.
Many of you have written requesting an invoice so that you could initiate
payment through your company accounting system. The following invoice is
provided for those of you in this category, or for those who wish an
invoice for your tax records. Perhaps it will serve the purpose.
--------------------
INVOICE
--------------------
Purchased from:
ALAN JONES
3717 Wildwood Drive
Endwell, NY 13760
DATE: / / Invoice No. 840211
--------------------------------------------------------------
PRICE PRICE
PRODUCT QTY EACH EXTENDED
------------------------- --- ----- --------
SP: A Print Spooler
program and
documentation 1 $15 $15
SALES TAX 0
--------------------------------------
PLEASE PAY THIS AMOUNT $15 TOTAL
--------------------------------------------------------------
Please make check payable to :ALAN JONES
You may retain this Invoice
for your tax records.